{% extends 'extends/nav_back_all_.html' %}

{% block main %}
<div class="container mt-5">
    <h3 class="mb-4">用户封禁管理</h3>

    <div class="form-group row">
        <label for="uidInput" class="col-sm-2 col-form-label">用户 UID：</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" id="uidInput" placeholder="请输入 UID">
        </div>
        <div class="col-sm-2">
            <button id="checkBtn" class="btn btn-primary">查询状态</button>
        </div>
    </div>

    <div id="resultArea" class="mt-4" style="display: none;">
        <p><strong>当前状态：</strong><span id="statusText" class="ml-2 badge badge-info"></span></p>
        <button id="banBtn" class="btn btn-danger mr-2">封禁</button>
        <button id="unbanBtn" class="btn btn-success">解封</button>
    </div>
</div>

{% endblock %}

{% block script %}
{% endblock %}